const express = require("express")
const bodyParser = require("body-parser")
const app = express()
// app.use(function(req,res,next){
//     next()
// })
// app.use(bodyParser.urlencoded({extended: false}))
app.use(express.urlencoded({extended:false}))
app.post("/a",(req,res)=>{
    console.log(req.body);
})
app.listen(5000,(err)=>{
    if(err) console.log("失败");
    else console.log("成功");
})